/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.mapper;

import com.seari.bean.DeviceList;
import com.seari.pojo.QueryDeviceList;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 *
 * @author Rainbow
 */
public interface DeviceListMapper
{
    public int getDeviceListIdByIndex(@Param("deviceIndex")String deviceIndex);
    public int insertOrUpdateDeviceList(@Param("list")List<DeviceList> deviceLists,@Param("line")String lineID);
    public int deleteDeviceListByDeviceIndex(@Param("list")List<DeviceList> deviceLists,@Param("line")String lineID);
    public List<DeviceList> getDeviceListByParams(QueryDeviceList qdl);
    public int getDeviceListCount(QueryDeviceList qdl);
    public List<String> getDeviceListStationID(QueryDeviceList qdl);
    public List<String> getDeviceListSystemID(QueryDeviceList qdl);
    public List<String> getDeviceListDevID(QueryDeviceList qdl);
    public List<String> getDeviceListLineID(QueryDeviceList qdl);

}
